﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VemTransporte.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>..:: STI ::..</title>
    <link href="../../Content/Estilo/stylo.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 211px;
        }
    </style>
    </head>
<body id="corpo">
<form id="formGlobal" runat="server">
    <!-- Div Topo Inicio -->
    <div id="topo">
        <div id="logoTopo"></div>
            <!-- Div Formulário Login Inicio -->
            <div id="formLogin">
                <asp:panel defaultbutton="LoginButton" id="panelLoginForm" runat="server">
                <table>
                    <tr>
                        <td>
                        <asp:Label ID="Label4" runat="server" AssociatedControlID="TextBoxEmail">EMail:</asp:Label>
                        </td>
                        <td colspan="2">
                        <asp:Label ID="Label5" runat="server" AssociatedControlID="Password">Senha:</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="textEntry" 
                            Width="200px"></asp:TextBox>
                        </td>
                        <td>
                        <asp:TextBox ID="TextBoxSenha" runat="server" CssClass="passwordEntry" 
                            TextMode="Password" MaxLength="6" Width="200px"></asp:TextBox>
                        </td>
                        <td>
                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Entrar" BackColor="#637BAD" 
                            ForeColor="White" ValidationGroup="LoginUserValidationGroup" onclick="LoginButton_Click" BorderColor="#637BAD"
                            Font-Names="verdana" Font-Size="10px" Font-Bold="true" Height="20px" Width="60px"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <asp:CheckBox ID="RememberMe" ForeColor="ActiveCaption" Font-Bold="true" Text="Lembrar Senha" runat="server"/>
                        </td>
                        <td colspan="2">
                        <asp:Label ID="Label7" runat="server" ForeColor="ActiveCaption" Font-Bold="true">Esqueceu a Senha?</asp:Label>
                        </td>
                    </tr>
                  </table>  
                        
                
                </asp:panel>
            </div>
            <!-- Div Formulário Login Fim -->
    </div>

        <!-- Div Mapa em flash Inicio -->
        <div id="mapa">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
                width="550" height="400" title="mapa">
                <param name="movie" value="/Content/Flashs/mapa.swf" />
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <embed src="/Content/Flashs/mapa.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                    type="application/x-shockwave-flash" allowscriptaccess="always" width="550" height="400">
                </embed>
            </object>
        </div>
        <!-- Div Mapa em flash Fim -->
        <!-- Div Formulario de Cadastro Inicio -->
        <div id="formCadastro">
            <asp:panel defaultbutton="CreateUserButton" id="panel1" runat="server">
                <br />
                <label style="font-size: 24px; color:#203360; font-weight:bold">
                    Cadastre-se</label>
                <div>
                    <p>
                    <label style="font-size: 11px; font-family:Verdana; color:#203360;">
                    Use o formulário abaixo para criar sua conta de acesso.</label>
                    </p>
                    <hr style="outline-style:none; color:#9aafca;" />
                    <span class="failureNotification">
                        <asp:Literal ID="ErrorMessage" runat="server"></asp:Literal>
                    </span>
                    <asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification"
                        ValidationGroup="RegisterUserValidationGroup" />
                    <div class="accountInfo">
                        
                        <table style="width: 450px">
                        <tr>
                            <td align="left" class="style1">
                                <asp:Label ID="UserNameLabel" runat="server" Font-Names="verdana" AssociatedControlID="UserName"
                                Font-Size="12px" ForeColor="#203360">Nome:</asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="UserName" runat="server" CssClass="textEntry" Height="30px" BorderColor="#9aafca" 
                                Width="300px" Font-Size="14px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                    CssClass="failureNotification" ErrorMessage="User Name is required." ToolTip="User Name is required."
                                    ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <asp:Label ID="Label1" runat="server" AssociatedControlID="DropDownListDia" Font-Names="verdana"
                            Font-Size="12px" ForeColor="#203360">Data de nascimento:</asp:Label>
                            </td>
                            <td>
                            <asp:DropDownList ID="DropDownListDia" runat="server" Height="30px" BorderColor="#9aafca" Width="55px">
                                    <asp:ListItem>Dia</asp:ListItem>
                                </asp:DropDownList>
                                <asp:Label ID="Label2" runat="server" Font-Size="16px" ForeColor="#203360"  Text=" / "></asp:Label>
                                <asp:DropDownList ID="DropDownListMes" runat="server" Height="30px" BorderColor="#9aafca"
                                    Width="130px">
                                    <asp:ListItem>Mês</asp:ListItem>
                                </asp:DropDownList>
                                <asp:Label ID="Label3" runat="server" Font-Size="16px" ForeColor="#203360" Text=" / "></asp:Label>
                                <asp:DropDownList ID="DropDownListAno" runat="server" Height="30px" BorderColor="#9aafca" Width="90px">
                                    <asp:ListItem>Ano</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" Font-Names="verdana"
                            Font-Size="12px" ForeColor="#203360">E-mail:</asp:Label>
                            </td>
                            <td>
                            <asp:TextBox ID="Email" runat="server" CssClass="textEntry"  Height="30px" BorderColor="#9aafca"
                            Width="300px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                                    CssClass="failureNotification" ErrorMessage="E-mail is required." ToolTip="E-mail is required."
                                    ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                    ControlToValidate="Email" ErrorMessage="E-mail está inválido!" 
                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Font-Names="verdana"
                            Font-Size="12px" ForeColor="#203360">Senha:</asp:Label>
                            </td>
                            <td>
                             <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password" Height="30px" BorderColor="#9aafca"
                            Width="300px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                    CssClass="failureNotification" ErrorMessage="Senha é requerida." ToolTip="Password is required."
                                    ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword" Font-Names="verdana"
                            Font-Size="12px" ForeColor="#203360">Confirmar senha:</asp:Label>
                            </td>
                            <td>
                            <asp:TextBox ID="ConfirmPassword" runat="server" CssClass="passwordEntry" TextMode="Password" Height="30px" BorderColor="#9aafca"
                            Width="300px"></asp:TextBox>
                                <asp:RequiredFieldValidator ControlToValidate="ConfirmPassword" CssClass="failureNotification"
                                    Display="Dynamic" ErrorMessage="Confirm Password is required." ID="ConfirmPasswordRequired"
                                    runat="server" ToolTip="Confirm Password is required." ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                    ControlToValidate="ConfirmPassword" CssClass="failureNotification" Display="Dynamic"
                                    ErrorMessage="The Password and Confirmation Password must match." ValidationGroup="RegisterUserValidationGroup">*</asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                            <p class="submitButton">
                            <asp:Button ID="CreateUserButton" runat="server" BackColor="#6ea954" BorderColor="#6ea954" Text="Criar conta" 
                                ForeColor="White" Height="30px" Width="100px" ValidationGroup="RegisterUserValidationGroup" 
                                onclick="CreateUserButton_Click"/>
                            </p>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" >
                            <hr style="outline-style:none; color:#9aafca;" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            <asp:HyperLink ID="HyperLink1" runat="server" Font-Names="verdana" Font-Size="12px" ForeColor="#203360"
                            NavigateUrl="~/Views/UsuarioEmpresa/Cadastro.aspx" Font-Overline="false">Cadastrar Empresa</asp:HyperLink>
                            </td>
                        </tr>
                        </table>
                            
                                                   
                        
                        
                    </div>
                </div>
            </asp:panel>

            

        </div>
        <!-- Div Formulario de Cadastro Fim -->
       
</form>
</body>
</html>
